package com.xmut.bs.handaccount.bean;

import com.xmut.bs.handaccount.bmob.Comment;

/**
 * Description
 * Created by Dollkey on 2018/4/17.
 */

public class GoodsDetail {
    private Comment comment;
    private String detailUrl;
    private int itemType;

    public GoodsDetail() {
        itemType = 0;
    }

    public GoodsDetail(int itemType) {
        this.itemType = itemType;
    }

    public GoodsDetail(Comment comment) {
        this.comment = comment;
        itemType = 1;
    }

    public GoodsDetail(String detailUrl) {
        this.detailUrl = detailUrl;
        itemType = 2;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }
}
